#!/bin/sh

ver_new="$1"
ver_old="$2"

if [ "$(apk version -t "$ver_old" '5.12.0-r2')" = '<' ]; then
	cat >&2 <<-EOF
	*
	* Many plugins has been moved from the collectd package into subpackages.
	* If collectd fails to start due to missing plugins, you have to install
	* them: apk add collectd-<plugin>. Or you can install meta-package
	* collectd-plugins-all if you want *all* collectd plugins.
	*
	EOF
fi

exit 0
